sudo sh -c 'echo "export MR133_TOOLCHAIN="$PWD"/mr133" >> /etc/profile'

sudo sh -c 'echo "export STAGING_DIR=$MR133_TOOLCHAIN/bin:$STAGING_DIR" >> /etc/profile'

sudo touch /usr/local/bin/mr133-cmake

sudo chmod +x /usr/local/bin/mr133-cmake

sudo chmod 777 /usr/local/bin/mr133-cmake

echo "#!/bin/bash" >> /usr/local/bin/mr133-cmake

echo "cmake -DCMAKE_TOOLCHAIN_FILE=\$MR133_TOOLCHAIN/toolchain.cmake \$@" >> /usr/local/bin/mr133-cmake
